package com.cwh.springbootMybatis.mapper;

import com.cwh.springbootMybatis.entity.SssfmIoBillItem;
import com.cwh.springbootMybatis.entity.SssfmIoBillItemKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SssfmIoBillItemMapper {
    int deleteByPrimaryKey(SssfmIoBillItemKey key);

    int insert(SssfmIoBillItem record);

    int insertSelective(SssfmIoBillItem record);

    SssfmIoBillItem selectByPrimaryKey(SssfmIoBillItemKey key);

    int updateByPrimaryKeySelective(SssfmIoBillItem record);

    int updateByPrimaryKeyWithBLOBs(SssfmIoBillItem record);

    int updateByPrimaryKey(SssfmIoBillItem record);
    int createTable(@Param(value = "tableName") String tableName);

    void insertDate(@Param(value = "sdata") String sdata);

    void createTableqtcy(@Param(value = "tableName") String s);


    List<SssfmIoBillItem> queryStep1(@Param(value = "tableName") String tableName);

    List<String> queryStep2(@Param(value = "tableName") String tableName);

//    List<SssfmIoBillItem> selectByIds(@Param(value = "tableName") String tableName,@Param(value = "bo")SssfmIoBillItem sssfmIoBillItem);

    List<SssfmIoBillItem> selectByIds(@Param(value = "tableName") String tableName,@Param(value = "idList") List idList);

    List<SssfmIoBillItem> selectByIdsbak(@Param(value = "idList") List idList);

    int insertAll(@Param(value = "tableName")String tableName);

    int delByIdsbak(SssfmIoBillItem sssfmIoBillItem);






}